<?php
    error_reporting(E_ALL^E_NOTICE^E_WARNING^E_DEPRECATED);
    include_once('./config/Smarty.Config.php');
    include_once './config/Public.Class.php';
    
    $seo = $f->seo();           //获取首页SEO信息
    $sns = $f->sns();           //获取SNS
    
    $banner = $f->banner();     //获取banner信息
    $show = $f->show();         //获取案列展示
    $about = $f->about();       //获取关于
    
    $smarty->assign('about',$about);
    $smarty->assign('show',$show);
    $smarty->assign('banner',$banner);
    $smarty->assign('sns',$sns);
    $smarty->assign('seo',$seo);
    $smarty->display('index.html');
?>